<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>添加页面</title>
</head>
<body>
<div style="margin-left:10px;margin-top:100px;">
    <form th:action="@{/insertTo}" method="post">
        <div class="form-group row">
            <label for="inputLastName3" class="col-sm-2 col-form-label">姓名</label>
            <div class="col-sm-10">
                <input type="LastName" name="name" class="form-control" id="inputLastName3" placeholder="LastName">
            </div>
        </div>

        <fieldset class="form-group">
            <div class="row">
                <legend class="col-form-label col-sm-2 pt-0">性别</legend>
                <div class="col-sm-10">
                    <div class="form-check">
                        <input class="form-check-input" type="radio" name="sex" id="gridRadios1" value="男" checked>
                        <label class="form-check-label" for="gridRadios1">
                            男
                        </label>
                    </div>
                    <div class="form-check">
                        <input class="form-check-input" type="radio" name="sex" id="gridRadios2" value="女">
                        <label class="form-check-label" for="gridRadios2">
                            女
                        </label>
                    </div>
                    <div class="form-check disabled">
                        <input class="form-check-input" type="radio" name="gender" id="gridRadios3" value="option3"
                               disabled>
                        <label class="form-check-label" for="gridRadios3">
                            无
                        </label>
                    </div>
                </div>
            </div>
        </fieldset>
        <div class="form-group row">
            <label for="inputBirth3" class="col-sm-2 col-form-label">生日</label>
            <div class="col-sm-10">
                <input type="Birth" name="birthday" class="form-control" id="inputBirth3" placeholder="yyyy-MM-dd">
            </div>
        </div>
        <div class="form-group row">
            <label for="inputBirth1" class="col-sm-2 col-form-label">爱好</label>
            <div class="col-sm-10">
                <textarea type="Hobbies" name="hobbies" class="form-control" id="inputBirth1"></textarea>
            </div>
        </div>
        <div class="form-group row">
            <div class="col-sm-10">
                <button type="submit" class="btn btn-primary">添加</button>
            </div>
        </div>
    </form>
</div>
</body>
</html>